import React from "react";
import ReactDOM from "react-dom/client";
import { Provider } from "./react-redux";
import Counter1 from "./components/Counter1";
import Counter2 from "./components/Counter2";
import store from "./store";
ReactDOM.createRoot(document.getElementById("root")).render(
  // 使用 store 传给  Provider
  <Provider store={store}>
    <Counter1 />
    <Counter2 />
  </Provider>
);
